package for_in循环演示

class test {
    static void main(String[] args) {
        def nums=[1,2,3,4,5,6];
        for(num in nums){
            println(num);
        }
    }
}
